Optimal. Leaf size=25 \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{m+4}}{m+4} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.0200095, antiderivative size = 25, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{a x^{m+1}}{m+1}+\frac{b x^{m+4}}{m+4} \]
Antiderivative was successfully verified.
[In] Int[x^m*(a + b*x^3),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [A] time = 3.84712, size = 19, normalized size = 0.76 \[ \frac{a x^{m + 1}}{m + 1} + \frac{b x^{m + 4}}{m + 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**m*(b*x**3+a),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.0254124, size = 23, normalized size = 0.92 \[ x^m \left (\frac{a x}{m+1}+\frac{b x^4}{m+4}\right ) \]
Antiderivative was successfully verified.
[In] Integrate[x^m*(a + b*x^3),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.003, size = 35, normalized size = 1.4 \[{\frac{{x}^{1+m} \left ( bm{x}^{3}+b{x}^{3}+am+4\,a \right ) }{ \left ( 4+m \right ) \left ( 1+m \right ) }} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^m*(b*x^3+a),x)
[Out]
_______________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \[ \text{Exception raised: ValueError} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)*x^m,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.250649, size = 45, normalized size = 1.8 \[ \frac{{\left ({\left (b m + b\right )} x^{4} +{\left (a m + 4 \, a\right )} x\right )} x^{m}}{m^{2} + 5 \, m + 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)*x^m,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 1.48818, size = 94, normalized size = 3.76 \[ \begin{cases} - \frac{a}{3 x^{3}} + b \log{\left (x \right )} & \text{for}\: m = -4 \\a \log{\left (x \right )} + \frac{b x^{3}}{3} & \text{for}\: m = -1 \\\frac{a m x x^{m}}{m^{2} + 5 m + 4} + \frac{4 a x x^{m}}{m^{2} + 5 m + 4} + \frac{b m x^{4} x^{m}}{m^{2} + 5 m + 4} + \frac{b x^{4} x^{m}}{m^{2} + 5 m + 4} & \text{otherwise} \end{cases} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**m*(b*x**3+a),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.241647, size = 69, normalized size = 2.76 \[ \frac{b m x^{4} e^{\left (m{\rm ln}\left (x\right )\right )} + b x^{4} e^{\left (m{\rm ln}\left (x\right )\right )} + a m x e^{\left (m{\rm ln}\left (x\right )\right )} + 4 \, a x e^{\left (m{\rm ln}\left (x\right )\right )}}{m^{2} + 5 \, m + 4} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x^3 + a)*x^m,x, algorithm="giac")
[Out]